<%@ page import="union.AreasOrganograma" %>

<h3>Dados de areasOrganograma</h3>

<div class="fieldcontain ${hasErrors(bean: areasOrganogramaInstance, field: 'area', 'error')} required">
	<label for="area">
		<g:message code="areasOrganograma.area.label" default="Area" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="area" name="area.id" from="${union.Area.list()}" optionKey="id" required="" value="${areasOrganogramaInstance?.area?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: areasOrganogramaInstance, field: 'areaSuperior', 'error')} required">
	<label for="areaSuperior">
		<g:message code="areasOrganograma.areaSuperior.label" default="Area Superior" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="areaSuperior" name="areaSuperior.id" from="${union.Area.list()}" optionKey="id" required="" value="${areasOrganogramaInstance?.areaSuperior?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: areasOrganogramaInstance, field: 'nivel', 'error')} required">
	<label for="nivel">
		<g:message code="areasOrganograma.nivel.label" default="Nivel" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="nivel" name="nivel.id" from="${union.NivelHierarquico.list()}" optionKey="id" required="" value="${areasOrganogramaInstance?.nivel?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: areasOrganogramaInstance, field: 'organograma', 'error')} required">
	<label for="organograma">
		<g:message code="areasOrganograma.organograma.label" default="Organograma" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="organograma" name="organograma.id" from="${union.Organograma.list()}" optionKey="id" required="" value="${areasOrganogramaInstance?.organograma?.id}" class="many-to-one"/>
</div>

